.class Lcom/nemustech/regina/ReginaLauncher$ElementLoader;
.super Ljava/lang/Object;
.source "ReginaLauncher.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ReginaLauncher;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "ElementLoader"
.end annotation


# instance fields
.field mReginalLauncher:Lcom/nemustech/regina/ReginaLauncher;

.field private volatile mRunning:Z

.field private volatile mStopped:Z

.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncher;


# direct methods
.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;Lcom/nemustech/regina/ReginaLauncher;)V
    .locals 0
    .parameter
    .parameter "reginaLauncher"

    .prologue
    .line 1591
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1592
    iput-object p2, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mReginalLauncher:Lcom/nemustech/regina/ReginaLauncher;

    .line 1593
    return-void
.end method

.method private addReginaShortcut(II)V
    .locals 30
    .parameter "order"
    .parameter "elementId"

    .prologue
    .line 1656
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/RUtils;->getScreenWidthAvailable(Landroid/content/Context;)I

    move-result v19

    .line 1657
    .local v19, screenWidth:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v18

    .line 1658
    .local v18, screenHeight:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$600(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v26

    const v27, 0x7f060002

    invoke-virtual/range {v26 .. v27}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v11

    .line 1659
    .local v11, margin:I
    div-int/lit8 v15, v11, 0x2

    .line 1660
    .local v15, scMargin:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$600(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v26

    invoke-virtual/range {v26 .. v26}, Lcom/nemustech/regina/ResourceCare;->getWCBHeight()I

    move-result v24

    .line 1661
    .local v24, wcbHeight:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$600(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v26

    const v27, 0x7f06006a

    invoke-virtual/range {v26 .. v27}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v22

    .line 1662
    .local v22, shortcutWidth:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$600(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v26

    const v27, 0x7f06006d

    invoke-virtual/range {v26 .. v27}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v20

    .line 1663
    .local v20, shortcutHeight:I
    const/4 v10, 0x0

    .line 1664
    .local v10, intentDesc:Ljava/lang/String;
    new-instance v21, Landroid/graphics/Rect;

    const/16 v26, 0x0

    const/16 v27, 0x0

    const/16 v28, 0x0

    const/16 v29, 0x0

    move-object/from16 v0, v21

    move/from16 v1, v26

    move/from16 v2, v27

    move/from16 v3, v28

    move/from16 v4, v29

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;-><init>(IIII)V

    .line 1665
    .local v21, shortcutRect:Landroid/graphics/Rect;
    const/4 v14, 0x0

    .local v14, scLeft:I
    const/16 v16, 0x0

    .local v16, scRight:I
    const/16 v17, 0x0

    .local v17, scTop:I
    const/4 v13, 0x0

    .local v13, scBottom:I
    const/4 v12, 0x0

    .line 1666
    .local v12, remainMargin:I
    const/4 v9, 0x0

    .line 1667
    .local v9, intent:Landroid/content/Intent;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mReginalLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-virtual/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v26

    invoke-virtual/range {v26 .. v26}, Lcom/nemustech/regina/ElementLocator;->getCurrentWorkspace()Lcom/nemustech/regina/RGWorkspace;

    move-result-object v25

    .line 1669
    .local v25, workspace:Lcom/nemustech/regina/RGWorkspace;
    packed-switch p1, :pswitch_data_0

    .line 1684
    :goto_0
    :pswitch_0
    const/16 v26, 0x2

    move/from16 v0, p1

    move/from16 v1, v26

    if-ne v0, v1, :cond_1

    .line 1685
    new-instance v9, Landroid/content/Intent;

    .end local v9           #intent:Landroid/content/Intent;
    invoke-direct {v9}, Landroid/content/Intent;-><init>()V

    .line 1687
    .restart local v9       #intent:Landroid/content/Intent;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    const/16 v27, 0x2

    move-object/from16 v0, v26

    move-object v1, v9

    move/from16 v2, v27

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RUtils;->getIntentByType(Landroid/content/Context;Landroid/content/Intent;I)Z

    .line 1696
    :goto_1
    mul-int/lit8 v26, v22, 0x4

    mul-int/lit8 v27, v11, 0x3

    add-int v26, v26, v27

    sub-int v12, v19, v26

    .line 1697
    div-int/lit8 v26, v12, 0x2

    mul-int v27, v22, p1

    mul-int v28, v11, p1

    add-int v27, v27, v28

    add-int v14, v26, v27

    .line 1698
    add-int v16, v14, v22

    .line 1699
    sub-int v26, v18, v24

    sub-int v26, v26, v15

    sub-int v17, v26, v20

    .line 1700
    sub-int v26, v18, v24

    sub-int v13, v26, v15

    .line 1701
    move-object/from16 v0, v21

    move v1, v14

    move/from16 v2, v17

    move/from16 v3, v16

    move v4, v13

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;->set(IIII)V

    .line 1703
    new-instance v5, Lcom/nemustech/regina/ElementShortcut;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    move-object v0, v5

    move-object/from16 v1, v26

    invoke-direct {v0, v1}, Lcom/nemustech/regina/ElementShortcut;-><init>(Landroid/content/Context;)V

    .line 1704
    .local v5, element:Lcom/nemustech/regina/ElementShortcut;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    move-object/from16 v0, p0

    move-object/from16 v1, v26

    move-object v2, v5

    move-object v3, v9

    move/from16 v4, p1

    invoke-direct {v0, v1, v2, v3, v4}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->setShortcutIconInfo(Landroid/content/Context;Lcom/nemustech/regina/ElementShortcut;Landroid/content/Intent;I)V

    .line 1705
    move/from16 v0, p2

    int-to-long v0, v0

    move-wide/from16 v26, v0

    move-object v0, v5

    move-wide/from16 v1, v26

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementShortcut;->setElementId(J)V

    .line 1707
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-virtual/range {v21 .. v21}, Landroid/graphics/Rect;->centerX()I

    move-result v27

    invoke-static/range {v26 .. v27}, Lcom/nemustech/regina/RUtils;->convertTo3DPosX(Landroid/content/Context;I)F

    move-result v6

    .line 1708
    .local v6, elementX:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-virtual/range {v21 .. v21}, Landroid/graphics/Rect;->centerY()I

    move-result v27

    invoke-static/range {v26 .. v27}, Lcom/nemustech/regina/RUtils;->convertTo3DPosY(Landroid/content/Context;I)F

    move-result v7

    .line 1709
    .local v7, elementY:F
    const/4 v8, 0x0

    .line 1710
    .local v8, elementZ:F
    move-object v0, v5

    move-object/from16 v1, v25

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setWorkspace(Lcom/nemustech/regina/RGWorkspace;)V

    .line 1711
    const/16 v26, 0x1

    move-object v0, v5

    move/from16 v1, v26

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setFromWorkspace(Z)V

    .line 1713
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v26

    move-object/from16 v0, v26

    move-object v1, v5

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementMaker;->initElementPanel(Lcom/nemustech/regina/ElementShortcut;)V

    .line 1714
    invoke-virtual {v5, v6, v7, v8}, Lcom/nemustech/regina/ElementShortcut;->locate(FFF)V

    .line 1716
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-virtual/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->isSecretMode()Z

    move-result v26

    if-eqz v26, :cond_2

    .line 1717
    const/16 v26, 0x1

    move-object v0, v5

    move/from16 v1, v26

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setWorkspaceType(I)V

    .line 1724
    :goto_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v26

    move-object/from16 v0, v26

    move-object v1, v5

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementLocator;->availableSpaceExceptElement(Lcom/nemustech/regina/Element;)Landroid/graphics/RectF;

    move-result-object v23

    .line 1725
    .local v23, snappedRect:Landroid/graphics/RectF;
    if-eqz v23, :cond_0

    .line 1726
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    invoke-static/range {v26 .. v26}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v26

    invoke-virtual/range {v23 .. v23}, Landroid/graphics/RectF;->centerX()F

    move-result v27

    invoke-virtual/range {v23 .. v23}, Landroid/graphics/RectF;->centerY()F

    move-result v28

    const/16 v29, 0x0

    move-object/from16 v0, v26

    move-object v1, v5

    move/from16 v2, v27

    move/from16 v3, v28

    move/from16 v4, v29

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/nemustech/regina/ElementLocator;->arrangeManual(Lcom/nemustech/regina/Element;FFF)V

    .line 1727
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v26, v0

    move-object/from16 v0, v26

    move-object v1, v5

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->addElementToDatabase(Lcom/nemustech/regina/Element;)V

    .line 1729
    :cond_0
    return-void

    .line 1671
    .end local v5           #element:Lcom/nemustech/regina/ElementShortcut;
    .end local v6           #elementX:F
    .end local v7           #elementY:F
    .end local v8           #elementZ:F
    .end local v23           #snappedRect:Landroid/graphics/RectF;
    :pswitch_1
    const-string v10, "#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=com.android.vending/.AssetBrowserActivity;end"

    .line 1672
    goto/16 :goto_0

    .line 1674
    :pswitch_2
    const-string v10, "#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=com.google.android.gm/.ConversationListActivityGmail;end"

    .line 1675
    goto/16 :goto_0

    .line 1680
    :pswitch_3
    const-string v10, "\'#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=com.google.android.apps.maps/com.google.android.maps.MapsActivity;end"

    goto/16 :goto_0

    .line 1690
    :cond_1
    const/16 v26, 0x0

    :try_start_0
    move-object v0, v10

    move/from16 v1, v26

    invoke-static {v0, v1}, Landroid/content/Intent;->parseUri(Ljava/lang/String;I)Landroid/content/Intent;
    :try_end_0
    .catch Ljava/net/URISyntaxException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v9

    goto/16 :goto_1

    .line 1719
    .restart local v5       #element:Lcom/nemustech/regina/ElementShortcut;
    .restart local v6       #elementX:F
    .restart local v7       #elementY:F
    .restart local v8       #elementZ:F
    :cond_2
    const/16 v26, 0x0

    move-object v0, v5

    move/from16 v1, v26

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setWorkspaceType(I)V

    goto :goto_2

    .line 1691
    .end local v5           #element:Lcom/nemustech/regina/ElementShortcut;
    .end local v6           #elementX:F
    .end local v7           #elementY:F
    .end local v8           #elementZ:F
    :catch_0
    move-exception v26

    goto/16 :goto_1

    .line 1669
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
    .end packed-switch
.end method

.method private initElementsToDefault()V
    .locals 14

    .prologue
    const/4 v3, -0x1

    const/high16 v13, 0x4000

    const/4 v12, 0x0

    const/4 v11, 0x0

    const/4 v10, 0x1

    .line 1733
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncher;->access$600(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v1

    const v2, 0x7f060002

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getDimensionF(I)F

    move-result v1

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;F)F

    move-result v6

    .line 1736
    .local v6, margin:F
    const/4 v9, 0x0

    .line 1738
    .local v9, wgElement:Lcom/nemustech/regina/ElementReginaWidget;
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v0

    new-instance v1, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    invoke-direct {v1, v11}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    const/4 v2, 0x0

    const-wide/16 v4, 0x1

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/regina/ElementMaker;->createReginaWidget(Lcom/nemustech/regina/widgets/ReginaWidgetID;Landroid/graphics/Rect;IJ)Lcom/nemustech/regina/Element;

    move-result-object v9

    .end local v9           #wgElement:Lcom/nemustech/regina/ElementReginaWidget;
    check-cast v9, Lcom/nemustech/regina/ElementReginaWidget;

    .line 1740
    .restart local v9       #wgElement:Lcom/nemustech/regina/ElementReginaWidget;
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v0

    invoke-virtual {v0, v9}, Lcom/nemustech/regina/ElementLocator;->arrange(Lcom/nemustech/regina/Element;)Z

    move-result v0

    if-ne v0, v10, :cond_0

    .line 1742
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v7

    .line 1743
    .local v7, screenHeight:I
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0, v7}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v8

    .line 1746
    .local v8, screenHeight3D:F
    invoke-virtual {v9}, Lcom/nemustech/regina/ElementReginaWidget;->getHeight3D()F

    move-result v0

    sub-float v0, v8, v0

    mul-float v1, v6, v13

    const/high16 v2, 0x3e80

    mul-float/2addr v1, v2

    add-float/2addr v0, v1

    div-float/2addr v0, v13

    invoke-virtual {v9}, Lcom/nemustech/regina/ElementReginaWidget;->getZ()F

    move-result v1

    invoke-virtual {v9, v12, v0, v1}, Lcom/nemustech/regina/ElementReginaWidget;->locate(FFF)V

    .line 1747
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0, v9}, Lcom/nemustech/regina/ReginaLauncher;->addElementToDatabase(Lcom/nemustech/regina/Element;)V

    .line 1750
    .end local v7           #screenHeight:I
    .end local v8           #screenHeight3D:F
    :cond_0
    const/4 v0, 0x2

    invoke-direct {p0, v11, v0}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->addReginaShortcut(II)V

    .line 1751
    const/4 v0, 0x3

    invoke-direct {p0, v10, v0}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->addReginaShortcut(II)V

    .line 1752
    const/4 v0, 0x2

    const/4 v1, 0x4

    invoke-direct {p0, v0, v1}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->addReginaShortcut(II)V

    .line 1753
    const/4 v0, 0x3

    const/4 v1, 0x5

    invoke-direct {p0, v0, v1}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->addReginaShortcut(II)V

    .line 1755
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v0

    new-instance v1, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    invoke-direct {v1, v10}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    const/4 v2, 0x0

    const-wide/16 v4, 0x6

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/regina/ElementMaker;->createReginaWidget(Lcom/nemustech/regina/widgets/ReginaWidgetID;Landroid/graphics/Rect;IJ)Lcom/nemustech/regina/Element;

    move-result-object v9

    .end local v9           #wgElement:Lcom/nemustech/regina/ElementReginaWidget;
    check-cast v9, Lcom/nemustech/regina/ElementReginaWidget;

    .line 1757
    .restart local v9       #wgElement:Lcom/nemustech/regina/ElementReginaWidget;
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v0

    invoke-virtual {v0, v9}, Lcom/nemustech/regina/ElementLocator;->arrange(Lcom/nemustech/regina/Element;)Z

    move-result v0

    if-ne v0, v10, :cond_1

    .line 1759
    invoke-virtual {v9}, Lcom/nemustech/regina/ElementReginaWidget;->getY()F

    move-result v0

    invoke-virtual {v9}, Lcom/nemustech/regina/ElementReginaWidget;->getZ()F

    move-result v1

    invoke-virtual {v9, v12, v0, v1}, Lcom/nemustech/regina/ElementReginaWidget;->locate(FFF)V

    .line 1760
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0, v9}, Lcom/nemustech/regina/ReginaLauncher;->addElementToDatabase(Lcom/nemustech/regina/Element;)V

    .line 1764
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    new-instance v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader$1;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader$1;-><init>(Lcom/nemustech/regina/ReginaLauncher$ElementLoader;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 1792
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$1000(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaPreference;

    move-result-object v0

    invoke-virtual {v0, v11}, Lcom/nemustech/regina/ReginaPreference;->setSetToDefaults(Z)V

    .line 1793
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$1000(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaPreference;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/nemustech/regina/ReginaPreference;->setInitializationStatus(I)V

    .line 1794
    iget-object v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ReginaLauncher;->access$1000(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaPreference;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 1795
    return-void
.end method

.method private setShortcutIconInfo(Landroid/content/Context;Lcom/nemustech/regina/ElementShortcut;Landroid/content/Intent;I)V
    .locals 9
    .parameter "c"
    .parameter "element"
    .parameter "intent"
    .parameter "order"

    .prologue
    const/4 v8, 0x0

    .line 1596
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 1597
    .local v2, packageManager:Landroid/content/pm/PackageManager;
    invoke-virtual {v2, p3, v8}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;

    move-result-object v5

    .line 1598
    .local v5, resolveInfo:Landroid/content/pm/ResolveInfo;
    const/4 v6, 0x0

    .local v6, title:Ljava/lang/String;
    const/4 v3, 0x0

    .local v3, packageName:Ljava/lang/String;
    const/4 v1, 0x0

    .local v1, className:Ljava/lang/String;
    const/4 v4, 0x0

    .line 1600
    .local v4, packagePath:Ljava/lang/String;
    packed-switch p4, :pswitch_data_0

    .line 1633
    :goto_0
    if-nez v5, :cond_1

    .line 1634
    invoke-virtual {v2}, Landroid/content/pm/PackageManager;->getDefaultActivityIcon()Landroid/graphics/drawable/Drawable;

    move-result-object v7

    invoke-virtual {p2, v7}, Lcom/nemustech/regina/ElementShortcut;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1647
    :cond_0
    :goto_1
    invoke-virtual {p2, v6}, Lcom/nemustech/regina/ElementShortcut;->setTitle(Ljava/lang/String;)V

    .line 1648
    invoke-virtual {p2, v8}, Lcom/nemustech/regina/ElementShortcut;->setItemType(I)V

    .line 1649
    invoke-virtual {p2, p3}, Lcom/nemustech/regina/ElementShortcut;->setIntent(Landroid/content/Intent;)V

    .line 1650
    invoke-virtual {p2, v3}, Lcom/nemustech/regina/ElementShortcut;->setPackageName(Ljava/lang/String;)V

    .line 1651
    invoke-virtual {p2, v1}, Lcom/nemustech/regina/ElementShortcut;->setClassName(Ljava/lang/String;)V

    .line 1652
    invoke-virtual {p2, v4}, Lcom/nemustech/regina/ElementShortcut;->setPackagePath(Ljava/lang/String;)V

    .line 1653
    return-void

    .line 1602
    :pswitch_0
    const v7, 0x7f0700eb

    invoke-virtual {p1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 1603
    const-string v3, "com.android.vending"

    .line 1604
    const-string v4, "/data/app/com.android.vending.apk"

    .line 1605
    const-string v1, "com.android.vending.AssetBrowserActivity"

    .line 1606
    goto :goto_0

    .line 1608
    :pswitch_1
    const v7, 0x7f0700ec

    invoke-virtual {p1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 1609
    const-string v3, "com.google.android.gm"

    .line 1610
    const-string v4, "/system/app/Gmail.apk"

    .line 1611
    const-string v1, "com.google.android.gm.ConversationListActivityGmail"

    .line 1612
    goto :goto_0

    .line 1620
    :pswitch_2
    const v7, 0x7f0700ee

    invoke-virtual {p1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 1621
    const-string v3, "com.android.settings"

    .line 1622
    const-string v4, "/system/app/Settings.apk"

    .line 1623
    const-string v1, "com.android.settings.Settings"

    .line 1624
    goto :goto_0

    .line 1626
    :pswitch_3
    const v7, 0x7f0700ef

    invoke-virtual {p1, v7}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v6

    .line 1627
    const-string v3, "com.google.android.apps.maps"

    .line 1628
    const-string v4, "/system/app/Maps.apk"

    .line 1629
    const-string v1, "com.google.android.maps.MapsActivity"

    goto :goto_0

    .line 1636
    :cond_1
    iget-object v0, v5, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    .line 1637
    .local v0, activityInfo:Landroid/content/pm/ActivityInfo;
    invoke-virtual {v0, v2}, Landroid/content/pm/ActivityInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v7

    invoke-virtual {p2, v7}, Lcom/nemustech/regina/ElementShortcut;->setIcon(Landroid/graphics/drawable/Drawable;)V

    .line 1639
    if-eqz v6, :cond_2

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v7

    if-nez v7, :cond_3

    .line 1640
    :cond_2
    invoke-virtual {v0, v2}, Landroid/content/pm/ActivityInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    .line 1642
    :cond_3
    if-nez v6, :cond_0

    .line 1643
    const-string v6, ""

    goto :goto_1

    .line 1600
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method


# virtual methods
.method public isRunning()Z
    .locals 1

    .prologue
    .line 1589
    iget-boolean v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mRunning:Z

    return v0
.end method

.method public run()V
    .locals 63

    .prologue
    .line 1800
    const/4 v6, -0x2

    invoke-static {v6}, Landroid/os/Process;->setThreadPriority(I)V

    .line 1802
    const/4 v6, 0x1

    move v0, v6

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mRunning:Z

    .line 1805
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v5

    .line 1806
    .local v5, cr:Landroid/content/ContentResolver;
    const-string v6, "ReginaLauncher"

    const-string v7, "start element loader!"

    invoke-static {}, Lcom/nemustech/regina/ReginaLauncher;->access$1100()Z

    move-result v8

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1807
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$1000(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaPreference;

    move-result-object v6

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getSetToDefaults()Z

    move-result v6

    const/4 v7, 0x1

    if-ne v6, v7, :cond_0

    .line 1808
    invoke-direct/range {p0 .. p0}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->initElementsToDefault()V

    .line 2100
    :goto_0
    return-void

    .line 1812
    :cond_0
    sget-object v6, Lcom/nemustech/regina/ReginaSettings$Favorites;->CONTENT_URI:Landroid/net/Uri;

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    invoke-virtual/range {v5 .. v10}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v30

    .line 1815
    .local v30, c:Landroid/database/Cursor;
    :try_start_0
    const-string v6, "_id"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v41

    .line 1817
    .local v41, idIndex:I
    const-string v6, "intent"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v44

    .line 1819
    .local v44, intentIndex:I
    const-string v6, "uid"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v61

    .line 1820
    .local v61, uidIndex:I
    const-string v6, "elementX"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v36

    .line 1821
    .local v36, elementXIndex:I
    const-string v6, "elementY"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v38

    .line 1822
    .local v38, elementYIndex:I
    const-string v6, "elementZ"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v40

    .line 1823
    .local v40, elementZIndex:I
    const-string v6, "elementWidth2D"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v34

    .line 1824
    .local v34, elementWidth2DIndex:I
    const-string v6, "elementHeight2D"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v33

    .line 1825
    .local v33, elementHeight2DIndex:I
    const-string v6, "packageName"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v48

    .line 1826
    .local v48, packageNameIndex:I
    const-string v6, "packagePath"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v49

    .line 1827
    .local v49, packagePathIndex:I
    const-string v6, "className"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v31

    .line 1828
    .local v31, classNameIndex:I
    const-string v6, "itemType"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v46

    .line 1835
    .local v46, itemTypeIndex:I
    const-string v6, "appWidgetId"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v28

    .line 1836
    .local v28, appWidgetIdIndex:I
    const-string v6, "rowNum"

    move-object/from16 v0, v30

    move-object v1, v6

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v57

    .line 1845
    .local v57, rowNumIndex:I
    :goto_1
    :sswitch_0
    invoke-interface/range {v30 .. v30}, Landroid/database/Cursor;->moveToNext()Z

    move-result v6

    if-eqz v6, :cond_5

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    move v6, v0

    if-nez v6, :cond_5

    .line 1846
    move-object/from16 v0, v30

    move/from16 v1, v46

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v12

    .line 1847
    .local v12, item_type:I
    const-string v6, "ReginaLauncher"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "loadFromProvider() uid="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    move-object/from16 v0, v30

    move/from16 v1, v61

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v8

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {}, Lcom/nemustech/regina/ReginaLauncher;->access$1100()Z

    move-result v8

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1848
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mReginalLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v6

    move-object/from16 v0, v30

    move/from16 v1, v61

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v7

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceByUID(I)Lcom/nemustech/regina/RGWorkspace;

    move-result-object v9

    .line 1850
    .local v9, workspace:Lcom/nemustech/regina/RGWorkspace;
    sparse-switch v12, :sswitch_data_0

    goto :goto_1

    .line 1853
    :sswitch_1
    move-object/from16 v0, v30

    move/from16 v1, v44

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v43

    .line 1854
    .local v43, intentDescription:Ljava/lang/String;
    const-string v6, "ReginaLauncher"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "loadFromProvider() intentDescription="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    move-object v0, v7

    move-object/from16 v1, v43

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {}, Lcom/nemustech/regina/ReginaLauncher;->access$1100()Z

    move-result v8

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 1857
    const/4 v6, 0x0

    :try_start_1
    move-object/from16 v0, v43

    move v1, v6

    invoke-static {v0, v1}, Landroid/content/Intent;->parseUri(Ljava/lang/String;I)Landroid/content/Intent;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/net/URISyntaxException; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v42

    .line 1862
    .local v42, intent:Landroid/content/Intent;
    const/4 v6, 0x1

    if-ne v12, v6, :cond_2

    const/4 v6, 0x1

    move/from16 v45, v6

    .line 1863
    .local v45, isShortcut:Z
    :goto_2
    :try_start_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v6

    move-object v0, v6

    move-object/from16 v1, v42

    move/from16 v2, v45

    move-object/from16 v3, v30

    invoke-virtual {v0, v1, v2, v3}, Lcom/nemustech/regina/ElementMaker;->createShortcutFromProvider(Landroid/content/Intent;ZLandroid/database/Cursor;)Lcom/nemustech/regina/Element;

    move-result-object v59

    check-cast v59, Lcom/nemustech/regina/ElementShortcut;

    .line 1958
    .local v59, scElement:Lcom/nemustech/regina/ElementShortcut;
    move-object/from16 v0, v30

    move/from16 v1, v41

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v6

    move-object/from16 v0, v59

    move-wide v1, v6

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementShortcut;->setElementId(J)V

    .line 1959
    move-object/from16 v0, v30

    move/from16 v1, v36

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v35

    .line 1960
    .local v35, elementX:F
    move-object/from16 v0, v30

    move/from16 v1, v38

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v37

    .line 1961
    .local v37, elementY:F
    move-object/from16 v0, v30

    move/from16 v1, v40

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v39

    .line 1963
    .local v39, elementZ:F
    move-object/from16 v0, v59

    move-object v1, v9

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setWorkspace(Lcom/nemustech/regina/RGWorkspace;)V

    .line 1964
    const/4 v6, 0x1

    move-object/from16 v0, v59

    move v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setFromWorkspace(Z)V

    .line 1967
    move-object/from16 v0, v30

    move/from16 v1, v48

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6

    move-object/from16 v0, v59

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setPackageName(Ljava/lang/String;)V

    .line 1968
    invoke-interface/range {v30 .. v31}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6

    move-object/from16 v0, v59

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setClassName(Ljava/lang/String;)V

    .line 1969
    move-object/from16 v0, v30

    move/from16 v1, v49

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v6

    move-object/from16 v0, v59

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementShortcut;->setPackagePath(Ljava/lang/String;)V

    .line 1972
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v6

    move-object v0, v6

    move-object/from16 v1, v59

    move/from16 v2, v35

    move/from16 v3, v37

    move/from16 v4, v39

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/nemustech/regina/ElementLocator;->arrangeManual(Lcom/nemustech/regina/Element;FFF)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto/16 :goto_1

    .line 2085
    .end local v9           #workspace:Lcom/nemustech/regina/RGWorkspace;
    .end local v12           #item_type:I
    .end local v28           #appWidgetIdIndex:I
    .end local v31           #classNameIndex:I
    .end local v33           #elementHeight2DIndex:I
    .end local v34           #elementWidth2DIndex:I
    .end local v35           #elementX:F
    .end local v36           #elementXIndex:I
    .end local v37           #elementY:F
    .end local v38           #elementYIndex:I
    .end local v39           #elementZ:F
    .end local v40           #elementZIndex:I
    .end local v41           #idIndex:I
    .end local v42           #intent:Landroid/content/Intent;
    .end local v43           #intentDescription:Ljava/lang/String;
    .end local v44           #intentIndex:I
    .end local v45           #isShortcut:Z
    .end local v46           #itemTypeIndex:I
    .end local v48           #packageNameIndex:I
    .end local v49           #packagePathIndex:I
    .end local v57           #rowNumIndex:I
    .end local v59           #scElement:Lcom/nemustech/regina/ElementShortcut;
    .end local v61           #uidIndex:I
    :catchall_0
    move-exception v6

    invoke-interface/range {v30 .. v30}, Landroid/database/Cursor;->close()V

    .line 2087
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    move v7, v0

    if-nez v7, :cond_1

    .line 2088
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v7, v0

    new-instance v8, Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v9, v0

    const/4 v10, 0x1

    invoke-direct {v8, v9, v10}, Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;-><init>(Lcom/nemustech/regina/ReginaLauncher;Z)V

    invoke-static {v7, v8}, Lcom/nemustech/regina/ReginaLauncher;->access$902(Lcom/nemustech/regina/ReginaLauncher;Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;)Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    .line 2089
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v7, v0

    invoke-static {v7}, Lcom/nemustech/regina/ReginaLauncher;->access$1300(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/AppInfoManager;

    move-result-object v7

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v8, v0

    invoke-static {v8}, Lcom/nemustech/regina/ReginaLauncher;->access$900(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    move-result-object v8

    invoke-virtual {v7, v8}, Lcom/nemustech/regina/AppInfoManager;->postRunnable(Ljava/lang/Runnable;)V

    .line 2092
    :cond_1
    const/4 v7, 0x0

    move v0, v7

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mRunning:Z

    .line 2093
    const/4 v7, 0x1

    move v0, v7

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    .line 2095
    const-string v7, "ReginaLauncher"

    const-string v8, "finish element loader!"

    invoke-static {}, Lcom/nemustech/regina/ReginaLauncher;->access$1100()Z

    move-result v9

    invoke-static {v7, v8, v9}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    throw v6

    .line 1858
    .restart local v9       #workspace:Lcom/nemustech/regina/RGWorkspace;
    .restart local v12       #item_type:I
    .restart local v28       #appWidgetIdIndex:I
    .restart local v31       #classNameIndex:I
    .restart local v33       #elementHeight2DIndex:I
    .restart local v34       #elementWidth2DIndex:I
    .restart local v36       #elementXIndex:I
    .restart local v38       #elementYIndex:I
    .restart local v40       #elementZIndex:I
    .restart local v41       #idIndex:I
    .restart local v43       #intentDescription:Ljava/lang/String;
    .restart local v44       #intentIndex:I
    .restart local v46       #itemTypeIndex:I
    .restart local v48       #packageNameIndex:I
    .restart local v49       #packagePathIndex:I
    .restart local v57       #rowNumIndex:I
    .restart local v61       #uidIndex:I
    :catch_0
    move-exception v32

    .line 1859
    .local v32, e:Ljava/net/URISyntaxException;
    goto/16 :goto_1

    .line 1862
    .end local v32           #e:Ljava/net/URISyntaxException;
    .restart local v42       #intent:Landroid/content/Intent;
    :cond_2
    const/4 v6, 0x0

    move/from16 v45, v6

    goto/16 :goto_2

    .line 1979
    .end local v42           #intent:Landroid/content/Intent;
    .end local v43           #intentDescription:Ljava/lang/String;
    :sswitch_2
    :try_start_3
    move-object/from16 v0, v30

    move/from16 v1, v28

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v8

    .line 1980
    .local v8, appWidgetId:I
    move-object/from16 v0, v30

    move/from16 v1, v36

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v13

    .line 1981
    .local v13, eX:F
    move-object/from16 v0, v30

    move/from16 v1, v38

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v14

    .line 1982
    .local v14, eY:F
    move-object/from16 v0, v30

    move/from16 v1, v40

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v15

    .line 1983
    .local v15, eZ:F
    move-object/from16 v0, v30

    move/from16 v1, v41

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v10

    .line 1988
    .local v10, eId:J
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v16, v0

    new-instance v6, Lcom/nemustech/regina/ReginaLauncher$ElementLoader$2;

    move-object/from16 v7, p0

    invoke-direct/range {v6 .. v15}, Lcom/nemustech/regina/ReginaLauncher$ElementLoader$2;-><init>(Lcom/nemustech/regina/ReginaLauncher$ElementLoader;ILcom/nemustech/regina/RGWorkspace;JIFFF)V

    move-object/from16 v0, v16

    move-object v1, v6

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->runOnUiThread(Ljava/lang/Runnable;)V

    goto/16 :goto_1

    .line 2029
    .end local v8           #appWidgetId:I
    .end local v10           #eId:J
    .end local v13           #eX:F
    .end local v14           #eY:F
    .end local v15           #eZ:F
    :sswitch_3
    const/16 v62, -0x1

    .line 2030
    .local v62, widgetId:I
    packed-switch v12, :pswitch_data_0

    .line 2047
    const-string v6, "ReginaLauncher"

    const-string v7, "Wrong Widget ID !!!"

    const/4 v8, 0x1

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->e(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 2050
    :goto_3
    move-object/from16 v0, v30

    move/from16 v1, v41

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v20

    .line 2051
    .local v20, rElementId:J
    move-object/from16 v0, v30

    move/from16 v1, v36

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v52

    .line 2052
    .local v52, rElementX:F
    move-object/from16 v0, v30

    move/from16 v1, v38

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v53

    .line 2053
    .local v53, rElementY:F
    move-object/from16 v0, v30

    move/from16 v1, v40

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getFloat(I)F

    move-result v54

    .line 2054
    .local v54, rElementZ:F
    move-object/from16 v0, v30

    move/from16 v1, v34

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v51

    .line 2055
    .local v51, rElementWidth2D:I
    move-object/from16 v0, v30

    move/from16 v1, v33

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v50

    .line 2056
    .local v50, rElementHeight2D:I
    move-object/from16 v0, v30

    move/from16 v1, v57

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getInt(I)I

    move-result v19

    .line 2057
    .local v19, rRowNum:I
    move/from16 v55, v62

    .line 2059
    .local v55, rWidgetId:I
    const/16 v58, 0x0

    .line 2060
    .local v58, rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    if-lez v19, :cond_3

    .line 2061
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v16

    new-instance v17, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    move-object/from16 v0, v17

    move/from16 v1, v55

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    const/16 v18, 0x0

    invoke-virtual/range {v16 .. v21}, Lcom/nemustech/regina/ElementMaker;->createReginaWidget(Lcom/nemustech/regina/widgets/ReginaWidgetID;Landroid/graphics/Rect;IJ)Lcom/nemustech/regina/Element;

    move-result-object v58

    .end local v58           #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    check-cast v58, Lcom/nemustech/regina/ElementReginaWidget;

    .line 2077
    .restart local v58       #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    :goto_4
    move-object/from16 v0, v58

    move-wide/from16 v1, v20

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementReginaWidget;->setElementId(J)V

    .line 2078
    move-object/from16 v0, v58

    move-object v1, v9

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementReginaWidget;->setWorkspace(Lcom/nemustech/regina/RGWorkspace;)V

    .line 2079
    move-object/from16 v0, v58

    move v1, v12

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ElementReginaWidget;->setItemType(I)V

    .line 2080
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$800(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementLocator;

    move-result-object v6

    move-object v0, v6

    move-object/from16 v1, v58

    move/from16 v2, v52

    move/from16 v3, v53

    move/from16 v4, v54

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/nemustech/regina/ElementLocator;->arrangeManual(Lcom/nemustech/regina/Element;FFF)V

    goto/16 :goto_1

    .line 2032
    .end local v19           #rRowNum:I
    .end local v20           #rElementId:J
    .end local v50           #rElementHeight2D:I
    .end local v51           #rElementWidth2D:I
    .end local v52           #rElementX:F
    .end local v53           #rElementY:F
    .end local v54           #rElementZ:F
    .end local v55           #rWidgetId:I
    .end local v58           #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    :pswitch_0
    const/16 v62, 0x0

    .line 2033
    goto/16 :goto_3

    .line 2035
    :pswitch_1
    const/16 v62, 0x1

    .line 2036
    goto/16 :goto_3

    .line 2038
    :pswitch_2
    const/16 v62, 0x2

    .line 2039
    goto/16 :goto_3

    .line 2041
    :pswitch_3
    const/16 v62, 0x4

    .line 2042
    goto/16 :goto_3

    .line 2044
    :pswitch_4
    const/16 v62, 0x3

    .line 2045
    goto/16 :goto_3

    .line 2064
    .restart local v19       #rRowNum:I
    .restart local v20       #rElementId:J
    .restart local v50       #rElementHeight2D:I
    .restart local v51       #rElementWidth2D:I
    .restart local v52       #rElementX:F
    .restart local v53       #rElementY:F
    .restart local v54       #rElementZ:F
    .restart local v55       #rWidgetId:I
    .restart local v58       #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    :cond_3
    const/16 v24, 0x0

    .line 2065
    .local v24, area:Landroid/graphics/Rect;
    if-eqz v51, :cond_4

    if-eqz v50, :cond_4

    .line 2066
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    move-object v0, v6

    move/from16 v1, v52

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v6

    div-int/lit8 v7, v51, 0x2

    sub-int v47, v6, v7

    .line 2067
    .local v47, left:I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    move-object v0, v6

    move/from16 v1, v53

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v6

    div-int/lit8 v7, v50, 0x2

    sub-int v60, v6, v7

    .line 2068
    .local v60, top:I
    add-int v56, v47, v51

    .line 2069
    .local v56, right:I
    add-int v29, v60, v50

    .line 2070
    .local v29, bottom:I
    new-instance v24, Landroid/graphics/Rect;

    .end local v24           #area:Landroid/graphics/Rect;
    move-object/from16 v0, v24

    move/from16 v1, v47

    move/from16 v2, v60

    move/from16 v3, v56

    move/from16 v4, v29

    invoke-direct {v0, v1, v2, v3, v4}, Landroid/graphics/Rect;-><init>(IIII)V

    .line 2073
    .end local v29           #bottom:I
    .end local v47           #left:I
    .end local v56           #right:I
    .end local v60           #top:I
    .restart local v24       #area:Landroid/graphics/Rect;
    :cond_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$700(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ElementMaker;

    move-result-object v22

    new-instance v23, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    move-object/from16 v0, v23

    move/from16 v1, v55

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    const/16 v25, -0x1

    move-wide/from16 v26, v20

    invoke-virtual/range {v22 .. v27}, Lcom/nemustech/regina/ElementMaker;->createReginaWidget(Lcom/nemustech/regina/widgets/ReginaWidgetID;Landroid/graphics/Rect;IJ)Lcom/nemustech/regina/Element;

    move-result-object v58

    .end local v58           #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    check-cast v58, Lcom/nemustech/regina/ElementReginaWidget;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .restart local v58       #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    goto/16 :goto_4

    .line 2085
    .end local v9           #workspace:Lcom/nemustech/regina/RGWorkspace;
    .end local v12           #item_type:I
    .end local v19           #rRowNum:I
    .end local v20           #rElementId:J
    .end local v24           #area:Landroid/graphics/Rect;
    .end local v50           #rElementHeight2D:I
    .end local v51           #rElementWidth2D:I
    .end local v52           #rElementX:F
    .end local v53           #rElementY:F
    .end local v54           #rElementZ:F
    .end local v55           #rWidgetId:I
    .end local v58           #rwElement:Lcom/nemustech/regina/ElementReginaWidget;
    .end local v62           #widgetId:I
    :cond_5
    invoke-interface/range {v30 .. v30}, Landroid/database/Cursor;->close()V

    .line 2087
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    move v6, v0

    if-nez v6, :cond_6

    .line 2088
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    new-instance v7, Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v8, v0

    const/4 v9, 0x1

    invoke-direct {v7, v8, v9}, Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;-><init>(Lcom/nemustech/regina/ReginaLauncher;Z)V

    invoke-static {v6, v7}, Lcom/nemustech/regina/ReginaLauncher;->access$902(Lcom/nemustech/regina/ReginaLauncher;Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;)Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    .line 2089
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    invoke-static {v6}, Lcom/nemustech/regina/ReginaLauncher;->access$1300(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/AppInfoManager;

    move-result-object v6

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->this$0:Lcom/nemustech/regina/ReginaLauncher;

    move-object v7, v0

    invoke-static {v7}, Lcom/nemustech/regina/ReginaLauncher;->access$900(Lcom/nemustech/regina/ReginaLauncher;)Lcom/nemustech/regina/ReginaLauncher$CacheWorkspaceThumbRunnable;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/AppInfoManager;->postRunnable(Ljava/lang/Runnable;)V

    .line 2092
    :cond_6
    const/4 v6, 0x0

    move v0, v6

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mRunning:Z

    .line 2093
    const/4 v6, 0x1

    move v0, v6

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    .line 2095
    const-string v6, "ReginaLauncher"

    const-string v7, "finish element loader!"

    invoke-static {}, Lcom/nemustech/regina/ReginaLauncher;->access$1100()Z

    move-result v8

    invoke-static {v6, v7, v8}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto/16 :goto_0

    .line 1850
    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_1
        0x1 -> :sswitch_1
        0x2 -> :sswitch_0
        0x3 -> :sswitch_0
        0x4 -> :sswitch_2
        0x3e8 -> :sswitch_0
        0x3e9 -> :sswitch_0
        0x3ea -> :sswitch_0
        0x7d0 -> :sswitch_3
        0x7d1 -> :sswitch_3
        0x7d2 -> :sswitch_3
        0x7d3 -> :sswitch_3
        0x7d4 -> :sswitch_3
    .end sparse-switch

    .line 2030
    :pswitch_data_0
    .packed-switch 0x7d0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_4
        :pswitch_3
    .end packed-switch
.end method

.method public stop()V
    .locals 1

    .prologue
    .line 1584
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mRunning:Z

    .line 1585
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/nemustech/regina/ReginaLauncher$ElementLoader;->mStopped:Z

    .line 1586
    return-void
.end method
